Skip to content

UI v0.21.1 Tabs디자인개편 - #38

Merged
youngduck merged 3 commits into
mainfrom
ui-v0.21.1-Tabs디자인개편
Jul 21, 2026

Hidden character warning

The head ref may contain hidden characters: "ui-v0.21.1-Tabs\ub514\uc790\uc778\uac1c\ud3b8"
Merged

UI v0.21.1 Tabs디자인개편#38
youngduck merged 3 commits into
mainfrom
ui-v0.21.1-Tabs디자인개편

Conversation

@youngduck

Copy link
Copy Markdown
Owner

개요

Tabs 컴포넌트의 시맨틱 토큰을 정비했습니다. 다른 표준 컨트롤(Button·Input·Calendar 트리거)과 높이·시각 언어를 통일합니다.

변경 사항

refactor: Tabs 컨트롤 높이 통일 및 배경·보더 토큰 정비

  • 높이 통일--tabs-item-height-sm/md/lg를 모두 36px로 통일 (총 렌더 높이 = 36 + 패딩 4×2 + 보더 2×2 = 48px 고정). size는 이제 폰트 크기만 변경
  • 배경/보더--color-tabs-bgtransparent로, --color-tabs-border--color-border-primary-light로 변경 → Calendar 트리거·SelectBox와 동일한 "투명 배경 + 옐로우 보더" 패턴
  • hover 대비 — 미선택 탭 hover 텍스트를 primary-100primary-200으로 보정

커밋 구성

  1. refactor: Tabs컨트롤높이통일및배경·보더토큰정비
  2. chore: v0.21.1버전범프
  3. docs: v0.21.1 CHANGELOG갱신

🤖 Generated with Claude Code

youngduck and others added 3 commits July 21, 2026 12:22
Tabs 아이템 높이를 sm/md/lg 모두 36px로 통일해 Button·Input·Calendar
트리거와 동일한 표준 컨트롤 높이(총 48px)를 맞추고, size는 폰트 크기만
변경하도록 조정. 배경을 투명(옐로우 보더) 패턴으로 바꿔 Calendar 트리거·
SelectBox와 시각 언어를 일치시키고 hover 텍스트 대비를 보정.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yd-ui Ready Ready Preview, Comment Jul 21, 2026 3:25am

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request bumps the package version to 0.21.1 and refactors the Tabs component design tokens in src/styles/token.semantic.css to unify control heights and update background and border colors. Feedback highlights that the corresponding documentation needs to be updated to reflect these new token values, and points out a potential discrepancy in the comment's height calculation formula regarding the border width.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +197 to +201
/* 총 렌더 높이 = 아이템 높이 + 패딩(4px×2) + 보더(2px×2) = 48px 고정.
Button/Input/Calendar 트리거와 동일한 표준 컨트롤 높이 — size는 폰트 크기만 변경 */
--tabs-item-height-sm: 36px;
--tabs-item-height-md: 36px;
--tabs-item-height-lg: 36px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

새롭게 변경된 디자인 토큰 값들이 문서 파일(ui-docs-site/components/tabs.md)에 반영되지 않았습니다.

문서의 디자인 토큰 섹션에 기재된 기존 값들(높이 28 / 34 / 42px, 배경색 secondary-300, 테두리 색상 border-divider 등)을 이번 변경 사항에 맞춰 함께 업데이트해 주셔야 문서와 실제 코드 간의 불일치를 방지할 수 있습니다.

또한, 주석의 계산식에서 보더(2px×2)로 계산하여 총 렌더 높이를 48px로 명시하셨으나, yds-tabs 컴포넌트에 적용된 보더 두께인 var(--yds-border-width)가 만약 1px라면 실제 총 렌더 높이는 46px이 됩니다 (36px + 8px + 2px = 46px).

--yds-border-width1px인지 혹은 실제 의도한 보더 두께가 2px인지 확인하시고, 주석의 계산식이나 토큰 설정을 일치시켜 주시기 바랍니다.

@youngduck
youngduck merged commit df86f12 into main Jul 21, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant